package com.test.pojo;

public class House {

    private  Integer id;
    private  Integer user_id;
    private  Integer type_id;
    private String tname;
    private  String title;
    private  String description;
    private  Double price;
    private  Integer floorage;
    private  Integer street_id;
    private String sname;
    private String contact;
    private Types types;
    private  Street street;

    public House() {
    }

    public House(Integer id, Integer user_id, String title, Integer type_id, String description, Double price, Integer floorage, Integer street_id) {
        this.id = id;
        this.user_id = user_id;
        this.title = title;
        this.type_id = type_id;
        this.description = description;
        this.price = price;
        this.floorage = floorage;
        this.street_id = street_id;
    }

    public House(String sname, String contact) {
        this.sname = sname;
        this.contact = contact;
    }

    public House(String tname) {
        this.tname = tname;
    }

    public House(Types types, Street street) {
        this.types = types;
        this.street = street;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public Integer getStreet_id() {
        return street_id;
    }

    public void setStreet_id(Integer street_id) {
        this.street_id = street_id;
    }

    public Integer getFloorage() {
        return floorage;
    }

    public void setFloorage(Integer floorage) {
        this.floorage = floorage;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getType_id() {
        return type_id;
    }

    public void setType_id(Integer type_id) {
        this.type_id = type_id;
    }

    public Integer getUser_id() {
        return user_id;
    }

    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    public Types getTypes() {
        return types;
    }

    public void setTypes(Types types) {
        this.types = types;
    }

    public Street getStreet() {
        return street;
    }

    public void setStreet(Street street) {
        this.street = street;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
}
